/* eslint-disable */
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/index'
import FastClick from 'fastclick'
import lazyload from 'vue-lazyload'
import "@/common/font/iconfont.css"
import 'lib-flexible'
import './changRouter'


// import Vconsole from 'vconsole';
// const vConsole = new Vconsole();
import {
  Button,
  Indicator,
  Toast,
  Popup,
  Picker,

} from 'mint-ui';

Vue.component(Button.name, Button);
Vue.component(Popup.name, Popup);
Vue.component(Picker.name, Picker);
Vue.component('shade', () => import('@/components/Shade/'));
Vue.config.productionTip = false

FastClick.attach(document.body)


Vue.prototype.loading = Indicator;
Vue.prototype.toast = Toast;

Vue.use(lazyload, {
  loading: require('@/assets/img-before@2x.png'),
  error: require('@/assets/device_broken.png')
})
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
/* eslint-disable */
